import { create } from 'zustand';
import { LayoutStoreType } from './type';

const LayoutStore = create<LayoutStoreType>((set) => ({

    collapsed: false, // 折叠状态

    setCollapsed: (collapsed) => set({ collapsed }), // 设置折叠状态
}));

export default LayoutStore;